<#if baseUrl??>
    <#assign path=baseUrl />
<#elseif request??>
    <#assign path=request.contextPath /> <#--path的目的是为了得到项目名-->
</#if>
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="../bootstrap-3.3.7/css/bootstrap.min.css" />
<script type="text/javascript" src="../bootstrap-3.3.7/js/jquery.js"></script>
<script type="text/javascript" src="../bootstrap-3.3.7/js/bootstrap.min.js"></script>
<script>
    function fenye(cpage) {
        $("[name='cpage']").val(cpage)
        $("form").submit();
    }
</script>
<head>
    <meta charset="UTF-8">
    <title>后台管理页面</title>
</head>

<body>
<div class="container" style="margin:50px 10px 10px 10px" >
    <form class="form-inline" style="margin-bottom: 10px;" action="${path}/bank/weitongguo" method="post">
        <div class="row" style="margin-top: 20px;">
            <input type="hidden" name="cpage" value="1">
            <div class="form-group form-group-sm col-xs-4">
                <label for="user_pt" class="col-sm-4 control-label" style="padding-top: 5px;">&nbsp;&nbsp;用户名称</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" id="user_pt" name="keyword" value="${p.keyword!}"  placeholder="请输入用户名称">
                </div>
            </div>
            <div class="form-group form-group-sm col-xs-4">
                <label for="user_phone" class="col-sm-4 control-label" style="padding-top: 5px;">手机号码</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" id="user_phone" name="keyquery" value="${p.keyquery!}" placeholder="请输入手机号">
                </div>
            </div>
            <div class="form-group">
            <#--<a href="" class="btn btn-success btn-primary btn-block ">查询</a>-->
                <input type="submit" value="查询" class="btn btn-success btn-primary btn-block ">
            </div>
        </div>

    </form>
    <table class="table table-responsive" >

        <tr class="success" style="text-align:center">
            <td>操作</td>
            <td>贷款金额</td>
            <td>申请日期</td>
            <td>贷款种类</td>
            <td>每期还款金额</td>
            <td>手机号码</td>
            <td>贷款用途</td>
            <td>调查信贷员</td>
            <td>处理状态</td>
        </tr>
        <#list wtglist as s>
        <tr class="success" style="text-align:center">
            <td>${s.username!}</td>
            <td>${s.dkje!}</td>
            <td>${s.sqrq!}</td>
            <td>${s.dkzl!}</td>
            <td>${s.mqhkje!}</td>
            <td>${s.khdh!}</td>
            <td>${s.dkyt!}</td>
            <td>${s.dtxdyname!}</td>
            <td><input type="button" value="查看详情" onclick="wtg(${s.khdh})" class="btn btn-xs btn-info "></td>

        </tr>
        </#list>
        <tr style="text-align: center;vertical-align: middle; ">
            <td colspan="15" style="padding-top: 20px;">
            ${p.pageUrl}
            </td>
        </tr>
    </table>

</div><!--/ row -->
</body>
<script type="text/javascript">
    function wtg(khdh) {
        location="${path}/bank/wtgxiangqing?khdh="+khdh;
    }
</script>
</html>